<?php
namespace app\space\validate;
use think\Validate;

/**
 * 工位留言信息验证器
 * Created by PhpStorm.
 * User: tyll
 * Date: 2020/04/10
 * Time: 16:25
 */
class WorkStationMessage extends Validate{

    protected $rule = [
        'message'           => 'require'
    ];

    protected $message = [
        'message.require'           => '留言必须填写'

    ];

    protected $scene = [
        'add'          => ['message']
    ];
}